home *** CD-ROM | disk | FTP | other *** search
/ Precision Software Appli…tions Silver Collection 4 / Precision Software Applications Silver Collection Volume 4 (1993).iso / new / carboncp.arj / CARBONCP.UNP
Text File  |  1992-11-23  |  3KB  |  76 lines

  1. ;This article describes the modification of Carbon Copy Plus V4.0
  2. ; using the serial number 03078888 for example you can easily
  3. ; make and understand part of the protection Scheme.
  4. ;
  5. ; Earlier versions are not worth un protecting
  6. ;
  7. ; The serial number is protected to death and is used in the determinatio
  8. n
  9. ; of various versions of Carbon Copy and should not be changed.
  10. ;
  11. ;Example of level 1 serial number checks is given below
  12. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  13. ;;;
  14. ;; for a FAST unptotect do the following
  15. C>patch cchelp.dif cchelp.exe cchelp.new
  16. C>copy cchelp.new cchelp.exe
  17. C>del cchelp.new
  18. ;;
  19. ;; Patch is Borlands turbo C patch utility
  20. ;; which is a public domain program and is included in this archive
  21. ;; or found else where on this bbs
  22. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  23. ;;;
  24.  
  25. ; Details
  26. ;
  27. 2533:76B7 B8D0C8         MOVAX,C8D0 
  28. 2533:76BA 0306136F       ADDAX,[6F13] '07' of 03078888
  29. 2533:76BE 7555           JNZ7715 ; death
  30. 2533:76C0 C706B571F85E   MOVWord Ptr [71B5],5EF8 
  31. c8d0 is derived from (NOT 3730)+1 from the one's complement
  32. - there are two more of these
  33. - at 355b (6f15) and 7776 (6f17)
  34. - the '03' is used for some reserved purpose.
  35.  
  36. ;Here is the focus of this article, the patch to get rid
  37. ;of that money Grubbing check, ie cannot use the same copy with itself
  38. ;;
  39. ;; This is the routine we wanna examine.
  40. ;;
  41. 2533:8BA0 BE116F         MOVSI,6F11  'beginning of 03078888'
  42. 2533:8BA3 8B07           MOVAX,[BX] 
  43. 2533:8BA5 3B04           CMPAX,[SI] 
  44. 2533:8BA7 751D           JNZ8BC6    'serial # not equal, OK!'
  45. 2533:8BA9 83C302         ADDBX,+02  'Death Routine because same ser#'
  46. 2533:8BAC 83C602         ADDSI,+02 
  47. 2533:8BAF 81FB965E       CMPBX,5E96 
  48. 2533:8BB3 75EE           JNZ8BA3 
  49.  
  50. ; to make the patch do this
  51. C>ren cchelp.exe cchelp.dat
  52. C>debug cchelp.dat
  53. -f 8ba7 8ba7 eb  <--Type this
  54.  
  55. -u 8ba0<-- type this
  56.  
  57. ; you will see the following..........
  58. 2533:8BA0 BE116F         MOVSI,6F11 
  59. 2533:8BA3 8B07           MOVAX,[BX] 
  60. 2533:8BA5 3B04           CMPAX,[SI] 
  61. 2533:8BA7 EB1D           JMP8BC6   ** Must see a JMP here
  62. 2533:8BA9 83C302         ADDBX,+02 
  63. 2533:8BAC 83C602         ADDSI,+02 
  64. 2533:8BAF 81FB965E       CMPBX,5E96 
  65. 2533:8BB3 75EE           JNZ8BA3 
  66. -w   <- Type this
  67.  Writing xxxxx bytes
  68. -q   <-Type this
  69. C>ren cchelp.dat cchelp.exe  <type this 
  70.  
  71. :::DONE!!!!!!!!!!!!!!!!
  72. ;;;; From the Swash Bucklers BBS 
  73. ;;;;;By the Riceball
  74.  
  75.  
  76. E